/**create by liuhua at 2020年10月22日 下午3:46:15**/
package com.star.aries.utils.excel;

import java.util.ArrayList;
import java.util.List;

import com.alibaba.excel.context.AnalysisContext;
import com.alibaba.excel.event.AnalysisEventListener;
import com.star.aries.dto.res.StudentResponseDto;

import lombok.Getter;

public class StudentListener extends AnalysisEventListener<StudentResponseDto> {

  @Getter
  List<StudentResponseDto> list = new ArrayList<>();
  
  @Override
  public void invoke(StudentResponseDto data, AnalysisContext context) {
    list.add(data);
  }

  @Override
  public void doAfterAllAnalysed(AnalysisContext context) {
    
  }
}
